﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="VideoGallery.aspx.vb" Inherits="Crazyforcoins.VideoGallery" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">
     <HeaderTemplate>
    
      
        <description>
          <strong>***Videos***</strong>
          <br />
          <br />
        </description>
     </HeaderTemplate>
     <ItemTemplate>
     <div>
     <item>
                                                 
            <dtitle><strong>VideoTitle: </strong><%# DataBinder.Eval(Container.DataItem, "VideoTitle")%></dtitle>
            <br />
            <asp:HyperLink runat="server" NavigateUrl='<%# Eval("ID", "~/Videos.aspx?ID={0}") %>' ><b>Go to Video</b>
              </asp:HyperLink> <br/>
           
            <VideoDesc><strong>Description: </strong><%# (DataBinder.Eval(Container.DataItem, "VideoDesc"))%></VideoDesc>
                                                
     
     <hr />

     </item>
     </div>
     </ItemTemplate>
      <FooterTemplate>
      
      </FooterTemplate>


    </asp:Repeater>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:CoinsConn %>" 
        ProviderName="<%$ ConnectionStrings:CoinsConn.ProviderName %>" 
        SelectCommand="SELECT * FROM [Videos]"></asp:SqlDataSource>
</asp:Content>
